package com.ebai.product.management.repository.system;

import javax.persistence.Table;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import com.ebai.product.management.model.entity.Code;
import com.ebai.product.management.model.entity.OperLog;

@Repository
@Table(name="operLog")
@Qualifier("operLogRepository")
public interface OperLogRepository extends CrudRepository<OperLog, String>, JpaSpecificationExecutor<OperLog> {

	Page<OperLog> findAll(Specification<OperLog> specification, Pageable pageable);
}
